#include <iostream>
#include <sigc++/sigc++.h>
using namespace std;
/*
g++ return_in_sigc.cpp -o return_in_sigc `pkg-config --cflags --libs sigc++-2.0`
*/
int inramanhinh(){
	cout << "This test" << endl;
	return 10;
}
int main(){
	sigc::signal<int> signal_print;//Bao' hieu. kieu? int tra? ve`
	signal_print.connect(sigc::ptr_fun(&inramanhinh));
	int retur = signal_print.emit();
	cout << retur << endl;
	return 0;
}
